package com.xiaoshuidi.cloud.module.contract.controller.admin.contract.vo.customerCompany;

import com.xiaoshuidi.cloud.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 企业客户在租房间分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class CompanyRentRoomPageReqVO extends PageParam {
    /**
     * 企业ID
     */
    @Schema(description = "企业ID")
    @NotNull(message = "企业ID不能为空")
    private Long companyId;

    /**
     * 房间名称
     */
    @Schema(description = "房间名称")
    private String roomName;

    /**
     * 类型 0在租房间 1退租房间
     */
    @Schema(description = "类型")
    @NotNull(message = "类型不能为空")
    private Integer type;
}
